package com.yykj.im.center.client.dto.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PaginationListDto<T> {

    @ApiModelProperty(value = "list")
    List<T> list;

    @ApiModelProperty(value = "总记录")
    long total;

    @ApiModelProperty(value = "当前页数")
    int pageNum;

    @ApiModelProperty(value = "当前每页条数")
    int pageSize;
}
